]> dgit.raspbian.org Git - gnome-shell.git/commit
panel: Drop unnecessary captured-event handler
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Apr 2023 11:40:40 +0000 (13:40 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 25 Apr 2023 08:09:02 +0000 (08:09 +0000)
commitcd862aa53ebf04b6f9c450885b26e4bf2773d0fc
tree473a38933e62b92f838d4205d4408cbf413499d5
parentb0ca64e7775225b7c5d049571a44ef40bf516406
panel: Drop unnecessary captured-event handler

The handler dates back to commit 50f248ec5b2a0 in 2011, and is
part of the original hack of making the activities button a
PanelMenu.Button while suppressing its menu.

By now, panel buttons without a menu have been properly supported
for years, but somehow that bit of the hack stuck around, even though
it is no longer actually needed (probably since the introduction of
DummyMenu.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2741>
js/ui/panel.js